package com.yike.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yike.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 *  店铺分账信息表
 *
 * @author whc
 * @since 2025-05-08
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("qy_shop_split")
@ApiModel(value = "shopSplit对象")
public class ShopSplit extends BaseEntity {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "店铺id")
    private Long shopId;


    @ApiModelProperty(value = "联系手机号", required = true)
    private String contactMobile; // 联系手机号

    @ApiModelProperty(value = "最低分账比例（百分比，支持2位精度）", required = true)
    private BigDecimal splitLowestRatio;

    @ApiModelProperty(value = "分账结算委托书文件名称", required = true)
    private String splitEntrustFileName;

    @ApiModelProperty(value = "分账结算委托书文件url", required = true)
    private String splitEntrustFilePath;

    @ApiModelProperty(value = "受理编号,分账申请返回", required = false)
    private String applyId;

    @ApiModelProperty(value = "更新受理编号,申请返回", required = false)
    private String applyUpdateId;

    @ApiModelProperty(value = "审核，0审核中，1-通过，2-拒绝", required = false)
    private Integer auditStatus;

    @ApiModelProperty(value = "合作协议文件名称（分账绑定接收方时需要）", required = true)
    private String entrustFileName;

    @ApiModelProperty(value = "合作协议文件地址（分账绑定接收方时需要", required = true)
    private String entrustFilePath;

    @ApiModelProperty(value = "分账接收方编号")
    private String receiverNo;

    @ApiModelProperty(value = "分账绑定接收方申请编号", required = false)
    private String applyBindId;

    @ApiModelProperty(value = "分账绑定接收方申请审核，0审核中，1-通过，2-拒绝", required = false)
    private Integer auditBindStatus;

    @ApiModelProperty(value = "绑定审核说明", required = false)
    private String  remarkBind;

    @ApiModelProperty(value = "分账申请审核结果备注", required = false)
    private String  remark;


}